#pragma once


class DlgSetProxy : public CDialog
{
    enum
    {
        IDC_EDIT_IP = 1200,
        IDC_EDIT_PORT = 1201,
        IDC_EDIT_USERNAME = 1202,
        IDC_EDIT_PASSWORD = 1203,
    };
public:
    DlgSetProxy(CWnd* pParent = NULL) : CDialog(IDD_PROXY, pParent)
    {
    }

    static HTTP_SEND_HEADER   s_task ;

private:
	virtual void DoDataExchange(CDataExchange* pDX)
    {
        DDX_Text(pDX, IDC_EDIT_IP, s_task.m_proxy_ip) ;
        DDX_Text(pDX, IDC_EDIT_PORT, s_task.m_proxy_port) ;
        DDX_Text(pDX, IDC_EDIT_USERNAME, s_task.m_proxy_username) ;
        DDX_Text(pDX, IDC_EDIT_PASSWORD, s_task.m_proxy_password) ;
    }
};

__declspec(selectany) HTTP_SEND_HEADER DlgSetProxy::s_task = HTTP_SEND_HEADER() ;
